php question ashutosh singh163729-Dec-2015 1.please tell me about mvc for php and lareval framework?2. how to convert an html file to excel file using php script? phpphpdoc Updated on 29-Dec-2015
John Smith
29-Dec-2015$inputFileType = 'HTML';
$inputFileName = './HtmlFile.html';
$outputFileName = './ExcelFile.xlsx';
$outputFileType = 'Excel2007';
$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel = $objPHPExcelReader->load($inputFileName);
$objPHPExcelWriter = PHPExcel_IOFactory::createWriter($objPHPExcel,$outputFileType);
$objPHPExcel = $objPHPExcelWriter->save($outputFileName);